import axios from 'axios'

export const SeeDoctorService = class SeeDoctorService {
    static seeDoctorService = null

    static getInstance(){
        if(this.seeDoctorService == null){
            this.seeDoctorService = new SeeDoctorService()
        }
        return this.seeDoctorService
    }

    resolve(hisCareHistory,hisCareOrders,){
        const params = {}
        params.hisCareHistory = hisCareHistory
        params.hisCareOrders = hisCareOrders
        return axios.post(`http://localhost/seedoctor/careOrders`,params)
    }
}
